package com.crud.generator.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * SQL语法校验结果。
 */
@Getter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SqlValidationResponse {

    private boolean valid;

    private String tableName;

    private int columnCount;

    private boolean hasPrimaryKey;

    private String error;
}
